//
//  UIButton+Extension.swift
//  SinaWeibo
//
//  Created by 风不会停息 on 2016/11/13.
//  Copyright © 2016年 风不会停息. All rights reserved.
//

import UIKit

extension UIButton{
    convenience init(title:String,fontSize:CGFloat,textColor:UIColor){
        
        self.init()
        
        self.setTitle(title, for: .normal)
        self.setTitleColor(textColor, for: .normal)
        self.titleLabel?.font = UIFont.systemFont(ofSize: fontSize)
        
    }
    
    
    
}
